package com.lagou.config;

import com.lagou.controller.MyWebApplicationInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @Authther: mrwu
 * @date:2021/3/27-03
 * @Description:com.lagou.config
 */
@EnableWebMvc
@Configuration
@ComponentScan(basePackages = "com.lagou")
@Import(MyWebApplicationInitializer.class)//导入自动注册dispatchservlet
public class Config {

}
